For the nerds out there

Kinja'd!!! "Just Jeepin'" (macintux)
09/08/2019 at 14:06 • Filed to: shitpost

Kinja'd!!!1 Kinja'd!!! 4
Kinja'd!!!

!!! UNKNOWN CONTENT TYPE !!!

https://stackoverflow.com/a/1732454


DISCUSSION (4)


Kinja'd!!! Rainbow > Just Jeepin'
09/08/2019 at 14:16

Kinja'd!!!0

Darn, I forgot that there are multiple types of nerds. This is not the kind I am, and I feel like I'm reading a foreign language.


Kinja'd!!! Honeybunchesofgoats > Rainbow
09/08/2019 at 14:36

Kinja'd!!!1

On the bright side, you used to be the dorkier nerd, but now the media kind of nerd is socially acceptable.  


Kinja'd!!! Aremmes > Just Jeepin'
09/08/2019 at 15:28

Kinja'd!!!1

Computer nerd here.

The short answer is you can't do that. The slightly less short answer is that XML, of which XHTML is an application, is a context-free language and thus requires a context-free parser. Regular expressions are an application of deterministic finite state automata, and cannot deal with nested structures in their input.


Kinja'd!!! I like cars: Jim Spanfeller is one ugly motherfucker > Aremmes
09/08/2019 at 23:56

Kinja'd!!!0

ah, yes, but I can just do regexp(struct2str([structure]),[expression],[other args])

(disclosure I mainly stick to matlab and the ilk so my syntax? Definitely wrong)